# Methods added to this helper will be available to all templates in the application.
module ApplicationHelper
  def luontiaika
    Time.now.to_s(:default)
  end
  
  def user_is_admin(user_id)
    if User.find(user_id)
      return true
    else
      return false
    end
  end
end
